package JavaBase;

public class person_Test {
    public static void main(String args[])
    {
        Teacher teacher=new Teacher();
        Student student=new Student();
        teacher.setName("李鸿章");
        teacher.setAge(45);
        student.setName("张飞");
        student.setAge(20);
        teacher.say();
        System.out.println();
        student.say();
    }
}
